<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="Pragma" content="no-cache" />
		<title>我的易安</title>
		<%@ include file="/user_comm.jsp"%>
		<link rel="stylesheet"
			href="http://a.tbcdn.cn/apps/sell/1.0/publish_detail_ke.css?t=20110128editor.css" />
		<link href="<%=request.getContextPath()%>/css/prop.css"
			type="text/css" rel="stylesheet" />
		<!-- script start -->
	<script>
	function submitForm(){
		var form=document.getElementById("formpage");
		form.submit();
	}
	</script>
		<!-- script end -->
	</head>
	<body>
		<%@ include file="/user_top.jsp"%>
		<div class="realCer">
			<!--导航-->
			<!--主体部分start-->
			<div class="realMain clearfix mt10">
				<%@ include file="/user_menu.jsp"%>
				<div class="realRight ml10 Buyer">
					<div class="mybox">
						<div class="mytit">
							公司信息维护
						</div>
						<div class="con Orbuy">
							<s:form name="formpage" action="companyInfo_update" namespace="/">
								<s:token>
								</s:token>
									<%@ include file="/messages.jsp"%>
										<s:hidden id="hdfId" name="companyInfo.id"
											value="%{#request.companyInfo.id}" />
										<s:hidden id="hdfCompanyId" name="companyInfo.companyId"
											value="%{#request.companyInfo.companyId}" />
										<table class="basicInfor">
											<tr>
												<th>
													公司名称：
												</th>
												<td class="fc9">
													<span class="at_text t_1_d"> <input
															name="companyInfo.companyName" type="text"
															value="${companyInfo.companyName }" 
															style="width: 290px;" maxlength="50"
															size="30" class="required" title="*必填" />
													</span>
												</td>
											</tr>
											<tr>
												<th>
													国&nbsp;&nbsp;家：
												</th>
												<td>
													<s:select class="ld-select-1" name="companyInfo.country"
														list="#request.countryList" onchange="selCountryChange();"></s:select>
												</td>
											</tr>

											<tr>
												<th>
													联系电话：
												</th>
												<td class="fixedTel">
													<!-- 
													<span class="at_text t_1_d"> <input
															name="companyInfo.countryCode" type="text" maxlength="5"
															class="area" size="5" value="${companyInfo.countryCode }" />
													</span> -
													<span class="at_text t_1_d"> <input
															name="companyInfo.telRegionCode" type="text" class="area"
															maxlength="5" size="5"
															value="${companyInfo.telRegionCode }" /> </span> -
													 -->
													<span class="at_text t_1_d"> <input
															name="companyInfo.telNumber" type="text" maxlength="20"
															size="30" value="${companyInfo.telNumber }" /> </span>
												</td>
											</tr>
											<tr>
												<th>
													联系人：
												</th>
												<td class="fc9">
													<span class="at_text t_1_d"> <input
															name="companyInfo.contact" type="text" maxlength="40"
															size="30" value="${companyInfo.contact }" /> </span>
												</td>
											</tr>

											<tr>
												<th>
													联系地址：
												</th>
												<td class="fc9">
													<span class="at_text t_1_d"> <input
															name="companyInfo.address" type="text" maxlength="40"
															style="width: 400px;" size="30" class="required"
															value="${companyInfo.address }" title="*必填" /> </span>
												</td>
											</tr>

											<tr>
												<th>
													邮政编码：
												</th>
												<td class="fc9">
													<span class="at_text t_1_d"> <input
															name="companyInfo.postcode" type="text"
															style="width: 80px;" maxlength="20" size="15"
															value="${companyInfo.postcode }" /> </span>
												</td>
											</tr>

											<tr>
												<th>
													公司网址：
												</th>
												<td class="fc9">
													<span class="at_text t_1_d"> <input
															name="companyInfo.webSite" type="text" maxlength="40"
															style="width: 300px;" size="30"
															value="${companyInfo.webSite }" /> </span>
												</td>
											</tr>

											<tr>
												<th width="120" valign="top">
													公司简介：
												</th>
												<td>
													<textarea name="companyInfo.introduction" cols="50"
														rows="5" style="width: 500px; height: 150px;">${companyInfo.introduction }</textarea>
												</td>
											</tr>

											<tr>
												<th>
													封条使用模式：
												</th>
												<td>
													<s:radio name="companyInfo.distributeType"
														list="#{'0':'无需分配','1':'需分配'}"
														value="%{#request.companyInfo.distributeType}"></s:radio>
													<span class="orange1 ml5">提示：需分配则只能使用本部门的封条</span>
												</td>
											</tr>

											<tr>
												<th></th>
												<td>
													<a href="javascript:submitForm();"	class="at_but b_1_y" id="reg_sub"><u></u>确认</a>
												</td>
											</tr>
										</table>
							</s:form>
						</div>
					</div>
					<!--主体部分end-->
				</div>
			</div>
			<!--底部 start-->
			<%@ include file="/user_button.jsp"%>
			<!--底部end-->
	</body>
</html>
